# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem              1.0

name                    libmng
version                 2.0.3
categories              graphics
platforms               darwin
license                 zlib
maintainers             nomaintainer

description             Library for read MNG, an extension to PNG.

long_description        This library extends PNG support to include Multiple \
                        Network Graphics this adds animation capabilities to \
                        PNG.

homepage                http://libmng.sourceforge.net/
master_sites            sourceforge:project/libmng/libmng-devel/${version}

checksums               rmd160  c978990189bf8fd925b4dbe76c7a0eac0b7e7434 \
                        sha256  cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa

depends_lib             path:lib/libjpeg.dylib:jpeg \
                        port:lcms2 \
                        port:zlib

configure.args          --with-jpeg=${prefix} \
                        --with-lcms=${prefix} \
                        --with-zlib=${prefix}

livecheck.regex         "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
